.haohuo {
    height: 260px;
    width: $width;

    margin: 0 auto;
    margin-bottom: 20px;

    >div {
        float: left;
        height: 260px;
        background-color: $moudleColor;

    }

    :nth-child(1) {
        width: 190px;
        margin-right: 10px;
    }

    :nth-child(2) {
        width: 990px;
    }
}

.haohuo-1 {
    background: url(http://misc.360buyimg.com/mtd/pc/index_2019/1.0.0/assets/img/b5d11fd6f7627b04f9713c995b75af78.png);

    >.haohuo-11 {
        margin: 20px 15px;
        width: 160px;
        height: 100px;
        background-color: #333333;
        opacity: 0.5;
        color: wheat;
        font-size: 18px;
        border-radius: 0 0 40px 0;

        >:nth-child(1) {
            width: 160px;
            text-align: center;
            padding: 10px 0;
            cursor: pointer;
        }

        >:nth-child(2) {
            width: 160px;
            font-size: 14px;
            text-align: center;
            padding: 10px 0;
            cursor: pointer;
        }
    }
}
@keyframes donghua{
    form{
        transform: translateX(0);
    };
    to{
        transform:translateX(-800px) ;
    }
}
.haohuo {
    >.haohuo-2 {
        width: 990px;
        height: 260px;
        overflow: hidden;
        

        >#donghua {
            height: 260px;
            width: 2000px;
            position: relative;
            animation: donghua  15s linear infinite;

            >li {
                float: left;

                height: 240px;
                margin: 10px 5px;
                // border: 1px solid black;
                width: 180px;
                cursor: pointer;
                >img{
                    margin: 20px auto;
                    width: 120px;
                    height: 120px;
                    background-color: yellowgreen;
                }
                >p{
                    font-size: 16px;
                    width: 180px;
                    line-height: 30px;
                    height: 30px;
                    text-align: center;
                }
            }
        }

    }
}

